import RouterView from "@/components/MyRouterView/index.vue";
/**
 * 所有组件都在 @/views/nav/nav001/下
 * 命名都需要按照这个规则配置
 * name 记录了路由细信息
 */
export default [
  {
    path: "/nav003",
    name: "nav003",
    meta: { title: "课程案例" },
    component: RouterView,
    redirect: "/nav003/bar001/page001",
    children: [
      {
        path: "bar001",
        name: "nav003bar001",
        meta: { title: "01 初始化篇" },
        component: RouterView,
        redirect: "/nav003/bar001/page001",
        children: [
          {
            path: "page001",
            name: "nav003bar001page001",
            meta: { title: "01.viewer配置项" },
            component: () =>
              import("@/views/nav/nav003/bar001/page001/index.vue"),
          },
          {
            path: "page002",
            name: "nav003bar001page002",
            meta: { title: "02.左下角商标图片" },
            component: () =>
              import("@/views/nav/nav003/bar001/page002/index.vue"),
          },
          {
            path: "page003",
            name: "nav003bar001page003",
            meta: { title: "03.点击坐标与坐标转换计算" },
            component: () =>
              import("@/views/nav/nav003/bar001/page003/index.vue"),
          },
          {
            path: "page004",
            name: "nav003bar001page004",
            meta: { title: "04.新增不同类型的影像" },
            component: () =>
              import("@/views/nav/nav003/bar001/page004/index.vue"),
          },
          {
            path: "page005",
            name: "nav003bar001page005",
            meta: { title: "05.新增不同类型的地形" },
            component: () =>
              import("@/views/nav/nav003/bar001/page005/index.vue"),
          },
          {
            path: "page006",
            name: "nav003bar001page006",
            meta: { title: "06.geoJSON与topoJSON" },
            component: () =>
              import("@/views/nav/nav003/bar001/page006/index.vue"),
          },
          {
            path: "page007",
            name: "nav003bar001page007",
            meta: { title: "07. kml与kmz" },
            component: () =>
              import("@/views/nav/nav003/bar001/page007/index.vue"),
          },
          {
            path: "page008",
            name: "nav003bar001page008",
            meta: { title: "08. gltf" },
            component: () =>
              import("@/views/nav/nav003/bar001/page008/index.vue"),
          },
          {
            path: "page009",
            name: "nav003bar001page009",
            meta: { title: "09. knockout与加载gltf" },
            component: () =>
              import("@/views/nav/nav003/bar001/page009/index.vue"),
          },
        ],
      },
      {
        path: "bar002",
        name: "nav003bar002",
        meta: { title: "02 Entity实体" },
        component: RouterView,
        redirect: "/nav003/bar002/page0011",
        children: [
          {
            path: "page0011",
            name: "nav003bar002page0011",
            meta: { title: "001.Billbroad广告牌" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/001-billbroad.vue"),
          },
          {
            path: "page0012",
            name: "nav003bar002page0012",
            meta: { title: "002.Box 长方体" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/002-box.vue"),
          },
          {
            path: "page0013",
            name: "nav003bar002page0013",
            meta: { title: "003.Corridor 走廊" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/003-corridor.vue"),
          },
          {
            path: "page0014",
            name: "nav003bar002page0014",
            meta: { title: "004.Cylinder 圆柱体" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/004-cylinder.vue"),
          },
          {
            path: "page0015",
            name: "nav003bar002page0015",
            meta: { title: "005.Ellipse 圆形" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/005-ellipse.vue"),
          },
          {
            path: "page0016",
            name: "nav003bar002page0016",
            meta: { title: "006.Ellipsoid 球体" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/006-ellipsoid.vue"),
          },
          {
            path: "page0017",
            name: "nav003bar002page0017",
            meta: { title: "007.Label 标签" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/007-label.vue"),
          },
          {
            path: "page0018",
            name: "nav003bar002page0018",
            meta: { title: "008.Model 模型" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/008-model.vue"),
          },
          {
            path: "page0019",
            name: "nav003bar002page0019",
            meta: { title: "009.Path1 路径" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/009-path1.vue"),
          },
          {
            path: "page00191",
            name: "nav003bar002page00191",
            meta: { title: "010.Path2 路径" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/010-path2.vue"),
          },
          {
            path: "page00192",
            name: "nav003bar002page00192",
            meta: { title: "011.Point 点" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/011-point.vue"),
          },
          {
            path: "page00193",
            name: "nav003bar002page00193",
            meta: { title: "012.polygon 多边形" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/012-polygon.vue"),
          },
          //
          {
            path: "page00194",
            name: "nav003bar002page00194",
            meta: { title: "013.polyline 折线" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/013-polyline.vue"),
          },
          {
            path: "page00195",
            name: "nav003bar002page00195",
            meta: { title: "014.polylineVolume " },
            component: () =>
              import(
                "@/views/nav/nav003/bar002/page001/014-polylineVolume.vue"
              ),
          },
          {
            path: "page00196",
            name: "nav003bar002page00196",
            meta: { title: "015.rectangle" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/015-rectangle.vue"),
          },
          {
            path: "page00197",
            name: "nav003bar002page00197",
            meta: { title: "016.wall " },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/016-wall.vue"),
          },
          {
            path: "page00198",
            name: "nav003bar002page00198",
            meta: { title: "017.availability" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/017-availability.vue"),
          },
          {
            path: "page00199",
            name: "nav003bar002page00199",
            meta: { title: "018. cluster" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/018-cluster.vue"),
          },
          {
            path: "page001991",
            name: "nav003bar002page001991",
            meta: { title: "019 manager&pick" },
            component: () =>
              import("@/views/nav/nav003/bar002/page001/019-manager&pick.vue"),
          },
        ],
      },
      {
        path: "bar003",
        name: "nav003bar003",
        meta: { title: "03 事件篇" },
        component: RouterView,
        redirect: "/nav003/bar003/page001",
        children: [
          {
            path: "page001",
            name: "nav003bar003page001",
            meta: { title: "01.点击拾取事件" },
            component: () =>
              import("@/views/nav/nav003/bar003/page001/index.vue"),
          },
          {
            path: "page002",
            name: "nav003bar003page002",
            meta: { title: "01.实体选中事件" },
            component: () =>
              import("@/views/nav/nav003/bar003/page002/index.vue"),
          },
          {
            path: "page003",
            name: "nav003bar003page003",
            meta: { title: "03.相机事件" },
            component: () =>
              import("@/views/nav/nav003/bar003/page003/index.vue"),
          },
          {
            path: "page004",
            name: "nav003bar003page004",
            meta: { title: "04.相机移动的方法" },
            component: () =>
              import("@/views/nav/nav003/bar003/page004/index.vue"),
          },
        ],
      },
      {
        path: "bar004",
        name: "nav003bar004",
        meta: { title: "04 特效" },
        component: RouterView,
        redirect: "/nav003/bar004/page001",
        children: [
          {
            path: "page001",
            name: "nav003bar004page001",
            meta: { title: "01.点特效" },
            component: () =>
              import("@/views/nav/nav003/bar004/page001/index.vue"),
          },
          {
            path: "page002",
            name: "nav003bar004page002",
            meta: { title: "02.自定义材质" },
            component: () =>
              import("@/views/nav/nav003/bar004/page002/index.vue"),
          },
        ],
      },
    ],
  },
];
